package xyz.xtt.exchange.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName：InterestVo
 * @Author: XGP
 * @Date: 2024/12/24/0024 11:33
 * @Desc: 权益VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InterestVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private String name;
    private String id;
    //关联资产主键
    private String assetId;
    //权益描述
    private String description;
    //获取条件
    private String requirement;
    //权益数量
    private int amount;
    //销兑方
    //private Long acceptUid;
    //销兑开始时间
    private String acceptStartTime;
    //销兑结束时间
    private String acceptEndTime;
    //销兑接口
    private String requestUrl;
    //销兑接口参数
    private String requestParam;
    //销兑方描述文案
    private String acceptDesc;
    //销兑方名称
    private String acceptName;
    //销兑结果 0失败 1成功
    @Builder.Default
    private String result = "";
    //业务来源
    @Builder.Default
    private String businesSource = "0";
    //兑换权益描述
    private String exchangeDesc;
    //兑换类型
    private int equityType;
}
